package com.zw.admin.server.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

@Data
@TableName("comment")
public class Comment {
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    public String id;

    @TableField(value = "content")
    public String content;

    @TableField(value = "status")
    public Integer status;

    @TableField(value = "user_code")
    public String userCode;

    @TableField(value = "user_name")
    public String userName;

    @TableField(value = "insert_time")
    public Timestamp insertTime;
}
